<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Messages</title>
    <style>
        body {
            margin: 0;
            padding: 0;
            font-family: Arial, sans-serif;
        }
        .content {
            padding: 20px;
            margin-bottom: 60px; /* 为底部导航栏留出空间 */
        }
        .bottom-nav {
            position: fixed;
            bottom: 0;
            width: 100%;
            display: flex;
            justify-content: space-around;
            align-items: center;
            background-color: #f8f8f8;
            border-top: 1px solid #ddd;
            padding: 5px 0;
        }
        .bottom-nav a {
            flex: 1;
            text-align: center;
            font-size: 12px;
            color: #666;
            text-decoration: none;
        }
        .bottom-nav a.active {
            color: #007bff;
        }
        .bottom-nav a .icon {
            display: block;
            font-size: 20px;
            margin-bottom: 5px;
        }

        /* Web 端隐藏底部导航栏 */
        @media (min-width: 768px) {
            .bottom-nav {
                display: none;
            }
        }
    </style>
</head>
<body>
    <div class="content">
        <h1>消息接收页面</h1>
        <p>这里是消息内容。</p>
    </div>

    <!-- 修复后的底部导航栏 -->
    <div class="bottom-nav">
        <a href="note-list.html">
            <span class="icon">🏠</span>
            <span>首页</span>
        </a>
        <a href="messages.html" class="active">
            <span class="icon">💬</span>
            <span>消息</span>
        </a>
        <a href="login.html">
            <span class="icon">👤</span>
            <span>个人</span>
        </a>
    </div>
</body>
</html>